﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;
namespace LIMS.Entities
{
    [ActiveRecord(Lazy = true)]
    [Serializable]
    public class UserTypePermission : ActiveRecordBase
    {
        public UserTypePermission()
        {
        }

        #region Private

        private int id;
        private int  usertypeid;
        private int read;
        private int edit;
        private int add;
        private int print;
        private int deleteright;
        #endregion

        #region public
        public virtual int Id
        {
            get { return id; }
            set { id = value; }
        }
        public virtual int UserTypeId
        {
            get { return usertypeid; }
            set { usertypeid = value; }
        }
        public virtual int ReadRight
        {
            get { return read; }
            set { read = value; }
        }
        public virtual int EditRight
        {
            get { return edit; }
            set { edit = value; }
        }
        public virtual int AddRight
        {
            get { return add; }
            set { add = value; }
        }
        public virtual int PrintRight
        {
            get { return print; }
            set { print = value; }
        }
        public virtual int DeleteRight
        {
            get { return deleteright; }
            set { deleteright = value; }
        }

        #endregion 

    }
}
